@echo start all applications..

set gradleProp=%1
echo CONTENT_AMMOY_HOME:%CONTENT_AMMOY_HOME%
echo CASTRO_BBC_HOME:%CASTRO_BBC_HOME%



set tasks=check initTomcatConf initHttpdConf -x test
gradle %tasks% %gradleProp% && startTomcat.bat %CASTRO_BBC_HOME%/resources %CONTENT_AMMOY_HOME%/app && startApache.bat && startMemcached.bat
